<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="ui" tagdir="/WEB-INF/tags/UI"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
<ui:baseHeader title="${article.title}" />
<link href="<%=request.getContextPath()%>/prettify/prettify.css" rel="stylesheet" />
<style type="text/css">
.article-content {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #CCCCCC;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	margin: 0 auto;
	padding: 10px 10px 80px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	margin: 0 auto;
}

.article-content .title a {
	color: #AAD372 !important;
	font-weight: bold;
	text-decoration: none;
	font-size: 22px;
}

.article-title label {
	color: #0088CC;
	margin: 0 5px 0 10px;
	display: inline;
}

.breadcrumb {
	margin: 0px;
	padding: 0px;
	border: none;
	background: none;
}
</style>
</head>
<body onload="prettyPrint()">
	<ui:navigation index="5" />
	<div class="container">
		<div class="article-content">
			<div class="article-title page-header">
				<p class="title">
					<a id="title">${article.title}</a> <label>创建时间：</label>
					<spring:eval expression="article.create_date" />
					<label>创建人：</label> ${article.creater}
				</p>

				<p>
				<ul class="breadcrumb">
					<li>导航路径：</li>
					<li><a href="#">首页</a></li>
					<c:forEach items="${navbars}" var="navbar" varStatus="status">
						<li><span class="divider">/</span> <a ${status.last?"class='active'":""} href="<%=request.getContextPath()%>${navbar.href}">${navbar.name}</a></li>
					</c:forEach>
				</ul>
				</p>

				<p>
					<c:forEach items="${article.tags}" var="tag">
						<span class="label label-info">${tag.name}</span>
					</c:forEach>
				</p>
			</div>
			<div>
				<spring:eval expression="content"></spring:eval>
			</div>
		</div>
	</div>
	<ui:baseFooter />
	<script type="text/javascript" src="<%=request.getContextPath()%>/prettify/prettify.js"></script>
</body>
</html>
